<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
	<head>
		<title>Tenda Alex</title>
		<link rel="stylesheet" type="text/css" href="css/slideshow.css">
	    <style type="text/css">
<!--
.Estilo1 {font-size: 36px}
.Estilo2 {font-size: 24px}
.Estilo3 {font-size: 12px; }
.Estilo4 {font-size: 16px}
-->
        </style>
</head>
	<body>
            
		<div id="divImagenes">
			<ul class="clsSlideShow">
				<li>
					<img src="img/1.jpg" height="150" width="500">
					<strong>Calidad a su Servicio</strong>
				</li>
				<li>
					<img src="img/2.jpg" height="150" width="500">
					<strong>La Mejor Atencion</strong>
				</li>
				<li>
					<img src="img/3.jpg" height="150" width="500">
					<!--<strong>Cali Rojas - <a href="http://www.lewebmonster.com">www.lewebmonster.com</a></strong>-->
					<strong>Los Mejores Precios</strong>
				</li>
			</ul>
		</div>
		<script type="text/javascript" src="js/ext/jquery-1.8.0.min.js"></script>
		<script type="text/javascript" src="js/slideshow.js"></script>
		<div id="divFormulario_reg_pas">
			<label><div align="center">
				  <p class="Estilo1"><span class="Estilo2">Ingrese Usuario y Contrase&ntilde;a</span> </p>
				  <p class="Estilo3">&nbsp;</p>
			</div>
				</label>
			<ul class="clsSlideShow">
				<form action="registrar_pedido1.jsp" method="post" name="frmbuscar_ped">
				  <label>

				  </label>
				
		          <table width="500" border="0">
                    <tr>
                      <td width="166"><input name="Submit" type="submit" class="Estilo2" value="principal"></td>
                      <td width="324"> Buscar Pedidos</td>
                    </tr>
					   <tr>
                      <td width="166">ingrese numero de Pedido</td>
                      <td width="324"> <input name="num_pedido" type="text" value=""></td>
					  <td width="166"><input name="btn_modificar"  type="button" class="Estilo2"  onclick="document.forms.frmbuscar_ped.action='NewServlet?operacion=buscar_pedido'; 
					document.forms.frmbuscar_ped.submit()" onkeypress="document.frmbuscar_ped.action = 'NewServlet?operacion=buscar_pedido'; document.frmbuscar_ped.submit()" value="Buscar" /></td>
                    </tr>
                  </table>
				</form>
				</br>
		
		<table width="500" border="0">
		  <tr>
    <td>numero pedido : ${num_pedido}</td>
    <td>Usuario: ${empleado}</td>
    <td></td>
    <td>${fecha_pedido}</td>
  </tr>
		  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <th width="122" class="Estilo3" scope="col"><div align="left">Item</div></th>
    <th width="122" class="Estilo3" scope="col"><div align="left">Codigo Producto</div></th>
    <th width="122" class="Estilo3" scope="col"><div align="left">Cantidad</div></th>
    <th width="122" class="Estilo3" scope="col"><div align="left"></div></th>
  </tr>

  
  <c:forEach items="${usuarios}" var="u">
  <tr>
    <td>${u.item}</td>
    <td>${u.codProd}</td>
    <td>${u.cantidad}</td>

  </tr>
  </c:forEach>
</table>

				
			</ul>				
		</div>	
		
	</body>
</html>